package com.zhupanlin.zhyl.order.service;

import java.util.Map;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/12/8 15:31
 */
public interface WXService {
    /**
     * 生成微信支付扫描的二维码
     * @param orderId
     * @return
     */
    Map<String, Object> createNative(Long orderId);

    /**
     * 调用微信接口实现支付状态查询
     * @param orderId
     * @return
     */
    Map<String, String> queryPayStatus(Long orderId);

    /**
     * 退款
     * @param orderId
     * @return
     */
    Boolean refund(Long orderId);
}
